<tagLib name="html" />
<include file="../Public/header" />
	<div id="message">
		<div id="message_title"><h4>搜索提示:</h4><span><a href="#" onclick="$('#message_content').slideToggle('normal'); return false;">隐藏/显示</a></span></div>
		<div id="message_content">你可以在这里搜索所有的新闻。<br />暂时不提供高级搜索以及附件DOC格式搜索支持，以后会提供。</div>
	</div>

	<div id="search_form">
	<form action="__APP__/Search/search" method="GET">
		<input type="text" name="w" value="{.w}" class="search_input_text" />
		<input type="submit" name="submit" value="搜索" class="search_input_button"/>
		</form>
	</div>
	<present name="hasError">
	<div class="notice">对不起，暂时不能连接搜索服务器，请稍后再试。</div>
	</present>
	
	<notpresent name="hasError">
	<div id="search_result">搜索 <span>{$info.keyword}</span>共有<span>{$info.recordcnt}</span>记录，用时<span>{$info.esptime}</span>毫秒</div>
	<div class="clear"></div>
		<div id="postlist">
			<iterate name="news" id="vo">
			<div class="search_post" id="post-3">
					<div class="search_title"><a href="__APP__/News/view/news/{$vo.newshash}"  target="_blank" title="{$vo.title}">{$vo.title}</a></div>
					<div class="search_info">[ <php>echo date("m/d h:s", $vo['date']);</php> | {$vo.site} | {$vo.category} | {$vo.author} ]</div>
					<div class="search_intro">{$vo.intro}
				</div>
				<div class="search_action"><a  href="__APP__/News/view/news/{$vo.newshash}" target="_blank">查看全文</a> | <a href="{$vo.url}"  target="_blank">打开原始地址</a></div>
				<div class="search_tag">标签:{$vo.tag}</div>
				<div class="clear"></div>
			</div>

			</iterate>

		</div>
		<!-- end postList -->
		<div id="pagenav">
			{$pageNav}
	</div>
	</notpresent>
	</div>

	
<include file="../Public/sidebar" />
</div><!-- end content -->
</div>
<include file="../Public/footer" />